package com.ehotting.edsta.circuitDesign.gen;

public class ScriptConstants {

    public static String LINE = System.getProperty("line.separator");

    public static String TAB = "\t";

    public static String DIFF = "DIFF";

    public static String TAB(int length){
        StringBuffer buf = new StringBuffer();
        for(int i=0;i<length;i++){
            buf.append(TAB);
        }
        return buf.toString();
    }


    public static String defineImport(){
        StringBuffer buf = new StringBuffer();
        buf.append("import com.ehotting.edsta.circuitDesign.gen.*;");
        buf.append(ScriptConstants.LINE);
        buf.append("import com.ehotting.edsta.circuitDesign.gen.arguments.helper.*;");
        buf.append(ScriptConstants.LINE);
        buf.append("import com.ehotting.edsta.circuitDesign.gen.circuit.helper.*;");
        buf.append(ScriptConstants.LINE);
        buf.append("import com.ehotting.edsta.circuitDesign.gen.element.helper.*;");
        buf.append(ScriptConstants.LINE);
        buf.append("import com.ehotting.edsta.circuitDesign.domain.*;");
        buf.append(ScriptConstants.LINE);
        buf.append("import com.alibaba.fastjson.JSON;");
        buf.append(ScriptConstants.LINE);

        return buf.toString();
    }


}
